import Vue from 'vue';
import vuerouter from './Router';
import App from './App.vue';
import './style/global.less';
import {default as showMessage } from './unils/showMessage';
import vloading from './directives/loading.js';
import './Mock';
// import './Api';
Vue.prototype.$showMessage=showMessage;
Vue.directive('loading',vloading);//全局注册指令
new Vue({
  router:vuerouter,
  render: h => h(App),
}).$mount('#app')
